<div class="doc-content">



<header class="api-profile-header" >
  <h2 class="md-display-1" >{{currentDoc.name}} API Documentation</h2>
  
  

</header>



<div layout="row" class="api-options-bar with-icon"></div>


<div class="api-profile-description">
  <p>Service that makes an element apply theming related classes to itself.</p>
<pre><code class="lang-js">app.directive(&#39;myFancyDirective&#39;, function($mdTheming) {
  return {
    restrict: &#39;e&#39;,
    link: function(scope, el, attrs) {
      $mdTheming(el);
    }
  };
});
</code></pre>

</div>


<div>
  

  



  <section class="api-section">
      
  <div class="api-param-section">
    <h2>
      
        Arguments
      
    </h2>
    <div class="api-param-table">
      
<table class="md-api-table">
  <thead>
    <tr>
      <th>Parameter</th>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
  
  
    
  
  
    
      <tr class="api-params-item">
        <td style="white-space: nowrap;">
          element
          
          <span hide show-sm>
<code class="api-type label type-hint type-hint-el">el</code></span>
        </td>
        <td style="white-space: nowrap;">
<code class="api-type label type-hint type-hint-el">el</code></td>
        <td class="description">
          <p>to apply theming to</p>

          
        </td>
      </tr>
    
  

  </tbody>
</table>

    </div>
  </div>
      <section class="api-section">
  
</section>


      

    </section>

  
  
  



  
</div>


</div>
